package com.cd.javacxy.module.web.service;

import com.cd.javacxy.common.model.entity.CxyCollection;
import com.cd.javacxy.common.model.query.CollectionQuery;
import com.cd.javacxy.common.utils.PageResult;
import com.cd.javacxy.exception.BussinessException;

/**
 * CxyCollection的服务接口
 *
 * @author yanghy
 */
public interface CxyCollectionService {

    PageResult<CxyCollection> findCollectionByPage(CollectionQuery collectionQuery);

    int deleteCollection(CxyCollection collection);

    int addCollection(CxyCollection collection) throws BussinessException;
}
